<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
         div:nth-child(1){
             float: left;
             width: 50px;
             height: 50px;
             background: url(./img/apple50.jpg) no-repeat;
         }
         div:nth-child(2){
             float: left;
             width: 50px;
             height: 50px;
             background: url(./img/apple100.jpg) no-repeat;
             background-size: 50px,50px;
         }
    </style>
</head>
<body>
    <div></div>
    <div></div>
   
</body>
</html>